failure 502:
Requirement failed: {getdate.07.17;getdate.07.13;getdate.13;getdate.04;getdate.05;getdate.18.01} function shall convert a string representation of a date or time into a broken-down time
location |
trace |
/var/opt/lsb/test/olver-core/2013-01-18_15-48-05/util_format_time_scenario.utz (util_format_time_scenario.utt), line 28121 |
occurence |
scenario |
util_format_time_scenario |
specification function |
getdate_spec() |
parameter value |
CallContext context = [pid=9334,thr=b74486c0] |
parameter value |
CString * @str = ······· 12·········· AM····· |
parameter value |
CString * str = ······· 12·········· AM····· |
parameter value |
TmTAnsw @corrRes = struct TmTAnsw { bSec=0, bMin=0, bHour=1, bMDay=0, bMon=0, bYear=0, bWDay=0, bYDay=0, bIsDst=0, Error=0, tm_sec=0, tm_min=0, tm_hour=0, tm_mday=0, tm_mon=0, tm_year=0, tm_wday=0, tm_yday=0, tm_isdst=0, reqs=<0x9dc30e4>ptr to ; } |
parameter value |
TmTAnsw corrRes = struct TmTAnsw { bSec=0, bMin=0, bHour=1, bMDay=0, bMon=0, bYear=0, bWDay=0, bYDay=0, bIsDst=0, Error=0, tm_sec=0, tm_min=0, tm_hour=0, tm_mday=0, tm_mon=0, tm_year=0, tm_wday=0, tm_yday=0, tm_isdst=0, reqs=<0x9dc30e4>ptr to ; } |
parameter value |
IntTObj * @getdate_err = 0 |
parameter value |
IntTObj * getdate_err = 7 |
return value |
(TmT *) <NULL> |
coverage & branch |
pseudo_coverage The only branch |
properties |
REQ failed |
getdate.04 |
REQ failed |
getdate.05 |
REQ failed |
getdate.07.13 |
REQ failed |
getdate.07.17 |
REQ failed |
getdate.13 |
REQ failed |
getdate.18.01 |
datemsk |
/tmp/olver/util_format_time_scenario/file2 |
expected getdate_err |
0 |
getdate_err |
7 |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The requirement claims:
"Extra whitespace in either the template file or in string shall be ignored."
But if there are any white spaces at the end of the query, the function returns with error 7.
Additional information about this bug may be found at http://linuxtesting.org/results/report?num=S0803.
|
|